<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{if $title}
<title>{$title}</title>
<meta name="keywords"   content="{$keywords}" />
<meta name="description" content="{$description}" />
{else}
<title>{$seo_title}</title>
<meta name="keywords"   content="{$seo_keywords}" />
<meta name="description" content="{$seo_description}" />
{/if}  
<link rel="shortcut icon" type="image/x-icon" href="./Public/Images/favicon.ico" />
<link type="text/css" rel="stylesheet" href="../Public/css/style.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/yuan.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/style1.css" />
<script type="text/javascript" src="../Public/js/jquery.min.js"></script>
<!--<script type="text/javascript" src="../Public/js/goTop.js"></script> 返回顶部 -->
<script type="text/javascript" src="../Public/js/index.js"></script>
<script type="text/javascript" src="../Public/js/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="./Public/js/layer/layer.js"></script>
<script type="text/javascript" src="./Public/js/guesbook.js"></script>
 <link type="text/css" rel="stylesheet" href="../Public/css/style3.css" />
{if $module_name!="Zforum_theme" && $module_name!="Zforum_reply" }
 <link rel="stylesheet" href="./Public/js/Kindeditor/themes/default/default.css" />
 <script type="text/javascript" src="./Public/Kindeditor/kindeditor-min.js"></script>
 {/if}
 <script src="./Public/js/Kindeditor/kindeditor.js"></script>
 <script src="./Public/js/Kindeditor/lang/zh_CN.js"></script>
<!--<script type="text/javascript" src="../Public/js/myfloor.js"></script>-->
<!--<script language="JavaScript" src="../Public/js/accordion.js"></script>  <!--手风琴-->
{if $module_name!="Case"&&$action_name!="show"}
<script type="text/javascript" src="../Public/js/jquery.SuperSlide.2.1.1.js"></script><!-- 推荐大咖 -->
{/if}
</head>
 
<body>
<!-- 顶部广告 -->
    <YP:flash flashid="29" key="kid" />
    <div id="x"><img src="../Public/images/x.png" alt=""></div>

<!-- 顶部 -->
<div class="top">
  <div class="auto">
    <div class="top_le">
      <ul>
        <li></li>
        <li class="weixng" style="width:100px">
          <div class="tlt"><img src="../Public/images/top1.png" width="20" height="20"></div>
          <div class="tlwz"><a >官方微信 ∨</a>
            </div>
            <div class="weixin"> <YP:flash flashid="31" key="kid" /></div>
        </li>
        <li class="mobileng">
          <div class="tlt2"><img src="../Public/images/top2.png" width="20" height="20"></div>
          <div class="tlwz2"><a>手机版</a></div>
          <div class="mobile"> <img src="../Public/images/mobileewm.png" width="110" height="110" /></div>
        </li>
         <a href="{$site_url}" id="wind_user1"> <li class="tr1" style="width:auto; line-height:30px;">首页</li></a>
      </ul>
    </div>
    <div class="top_ri">
      <ul>
       
        {if  cookie(username)}
         {php $user=M('User')->field('username')->where('id='.$jgsatuserid)->find()}
        <a href="{:URL('User-Index/index')}"><li class="tr1">{$user['username']}</li></a>
        <a  id="logout_url" href="{:URL('User-Login/logout')}"><li class="tr2">{:L(logout)}</li></a>
        <a  id="logout_url" href="/index.php?g=User&m=Index&a=message"><li class="tr2" style="width:100px">
          站内信（<b style="color:#F00"><?php echo (mess_num());?></b>）</li></a>
          <input id="cook_id" type="hidden" value="{php echo  cookie(username)}" />
        {else}
        <a href="{:URL('User-Login/index')}"><li class="tr1">登录</li></a>
        <a href="{:URL('User-Register/index')}"/><li class="tr2">{:L(REGISTER)}</li></a>
        {/if}
        <a href="index.php?g=user&m=Guestbookadd&a=add"><li class="tr3">提交需求</li></a>
        <a href="index.php?m=Help&a=index&id=22"><li class="tr4">新手帮助</li></a>
      
          <li class="tr5">
            网站导航
            <div class="tlt3"><img src="../Public/images/top3.png" width="20" height="20"></div>
            <ul class="gps">
               <ul><YP:subcat  catid="0">
				<li {if $r[id]==$bcid} class="on"{/if}  ><a href="{$r.url}">{$r.catname}</a></li>
		     
	    </YP:subcat></ul>

              <div class="clear"></div>
            </ul>
          </li>
      </ul>
    </div>

  </div>
</div>
<!-- 头部 -->
<div class="header">
  <div class="auto" style="border-bottom:solid 1px #604328; height:180px;">
    <div class="logo">
      <a href="{$site_url}"><img src="{$logo}" width="180" height="150" alt=""></a>
    </div>

    <div class="dh">
    <form cation="/index.php?" method="get" id="search_h" onSubmit="return zhuzi();">
      <div class="search">
          
             <input type="hidden"  name="m" value="Search"/>

                <!--<ul id="idState" class="wz_r" >
                  <input id="date" type="hidden" name="module" value="{$search_m}" />
                  <input id="catid" type="hidden" name="catid" value="{$search_catid}" />
                  <select name="searchid" id="search_se" onchange="sele()" style="width:92px; height:45px; padding:8px  0; border:none">
                     <option value="0">请选择</option>
                     <option  value="1" title="case" {if $searchid=='1'} selected="selected"  {/if} name="2" >效果图</option>
                     <option  value="2" title="case" {if $searchid=='2'} selected="selected" {/if} name="1"> 案例图</option>
                     <option  value="3" title="user" {if $searchid=='3'} {$search_m} selected="selected" {/if} name="4">设计师</option>
                     <option  value="4" title="product" {if $searchid=='4'} selected="selected" {/if} name="6">餐饮设备</option>
                    
                  </select>
                 </ul>-->
                 <ul id="idState" class="wz_r"  >
                  <input id="date" type="hidden" name="module" value="{$search_m}" /><!-- 搜索表名 -->
                  <input id="catid" type="hidden" name="catid" value="{$search_catid}" />
                  <input id="m_name" type="hidden" name="m_name" value="{$m_name}" />
                  <p id="text1">{if $m_name}{$m_name}{else}请选择&nbsp;{/if}</p>
                  <li><a title="case" name="1" href="javascript:getval('案例图&nbsp;')">案例图</a></li>
                  <li><a title="case" name="2" href="javascript:getval('效果图&nbsp;')">效果图</a></li>
                  <li ><a title="user" name="4" href="javascript:getval('设计师&nbsp;')">设计师</a></li>
                  <li ><a title="product" name="6" href="javascript:getval('餐饮设备&nbsp;')">餐饮设备</a></li>
                  <li ><a title="Zforum_theme"  href="javascript:getval('帖子&nbsp;')">帖子</a></li>
                </ul> 
                <input type="text" name="keyword" id="search_con" placeholder="搜索你想找的内容" class="tex" />
                
                <div class="clear"></div>
      </div><input type="submit" value="搜索" class="sub" id="search_sub" style=" border-top-right-radius:6px; border-bottom-right-radius:10px;"   />

 </form>
      <div class="ss1"><a href="index.php?g=user&m=Guestbookadd&a=add" style="border-radius:10px;">提交需求</a></div>
      <div class="ss2" style="background:url(../Public/images/wind3.png) no-repeat center;border-radius:10px;">
        <span style="font-size:16px;font-weight:bold;color:#FFF;float:right;margin:24px 10px 0px 0px;">{$Hotline}</span>
      </div>

          <div class="xdh">
        		<ul id="nav">
				    <li  class="b1{if $catid==$nr["id"]} on{/if}" ><a href="{$site_url}" >首页</a></li>

				    <YP:subcat catid="0" id="nr" key="ni">
                {if $nr['id']<=7}
        		    	<li class="b2{if $catid==$nr["id"]} on{/if}">
                           <a href="{$nr['url']}"  >{$nr['catname']}</a>
                          
                        </li>
                {/if}
        		</YP:subcat>

        		</ul>
          </div>

    </div>

  </div>
</div>
